///////////////////////////
//
// File: bcf_prog_1_main.cpp
//
// Author: Brian Fehrman (John Weiss's QtImageLib hellworld.cpp file used as a template)
//
// Purpose: This file contains the main function for program 1.
//
///////////////////////////

#include <string>
#include "bcf_img_proc.h"


/* Main function. Don't forget to leave this out! */
int main(int argc, char *argv[])
{
  BCF_Img_Proc bcf_menus;
  ImageApp app(argc, argv, "BCF Program 1");
  app.AddActions( &bcf_menus );
  return app.Start();
}

/*
 * Notes:
 *
 * - You may add as many classes as you like with app.AddActions(). Each class
 *   will (by default) have its menu items displayed in separate drop-down
 *   menus. You must pass in a pointer to an instance of the class.
 *
 * - You may optionally specify parameters to app.AddActions() that determine
 *   what you should call your methods. If you named all your menu items
 *   'Foo_MyMethod_Bar()', then call app.AddActions(&myClass, "Foo_", "_Bar");
 *
 * - You can also call app.AddActions(&myClass, "", "") to avoid needing to use
 *   prefixes or suffixes at all, but be aware that any other methods in your
 *   class that are marked 'public slots:' will possibly become menu items.
 *
 * - The main thread will only return from app.Start() when the program
 *   has been closed.
 *
 * - On Windows, OpenGL support is enabled by default. On Linux, because some
 *   (most) display drivers do not work correctly, OpenGL support is disabled
 *   by default. You may call app.EnableGL() or app.DisableGL() before
 *   calling app.Start() to change this.
 */
